import * as userApi from '@/service/user/user'
import * as newsApi from '@/service/news/news'
import * as menuApi from '@/service/menu/menu'
import * as bannerApi from '@/service/banner/banner'
import * as leftTopApi from '@/service/leftTop/leftTop'
import * as myApi from '@/service/my/my'
import * as stageApi from '@/service/stage/stage'
import * as searchApi from '@/service/search/search'
import * as collectionApi from '@/service/collection/collection'
import * as mixedResourceApi from '@/service/mixedResource/mixedResource'
import * as specialTrainApi from '@/service/specialTrain/specialTrain'
import * as calendarApi from '@/service/calendar/calendar'
import * as achievementApi from '@/service/achievement/achievement'
import * as expertiseApi from '@/service/expertise/expertise'
import * as learningPortfolioApi from '@/service/learningPortfolio/learningPortfolio'
import * as courseWareApi from '@/service/courseWare/courseWare'

// 接口引用统一导出
export const API = {
  user: { ...userApi },
  news: { ...newsApi },
  menu: { ...menuApi },
  banner: { ...bannerApi },
  leftTop: { ...leftTopApi },
  my: { ...myApi },
  stage: { ...stageApi },
  search: { ...searchApi },
  collection: { ...collectionApi },
  mixedResource: { ...mixedResourceApi },
  specialTrain: { ...specialTrainApi },
  calendar: { ...calendarApi },
  achievement: { ...achievementApi },
  expertise: { ...expertiseApi },
  learningPortfolio: { ...learningPortfolioApi },
  courseWare: { ...courseWareApi },
}
